home *** CD-ROM | disk | FTP | other *** search
- _root.score += _root.lives * 100;
- _root.healthbonus = (_root.health + _root.armor) * 3;
- _root.healthbonus = Math.round(_root.healthbonus);
- if(_root.tdeaths >= 1)
- {
- _root.finalscore = (_root.score + _root.healthbonus + 10000) / _root.tdeaths;
- }
- else
- {
- _root.finalscore = _root.score + _root.healthbonus + 10000;
- }
- _root.finalscore = Math.round(_root.finalscore);
- stop();
-